package com.jr.service.impl;

import com.jr.entity.Max_xueli;
import com.jr.mapper.Max_xueliMapper;
import com.jr.service.Max_xueliService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.ArrayList;

@Service
public class Max_xueliServiceImpl implements Max_xueliService {
    @Autowired
    private Max_xueliMapper max_xueliMapper;

    @Override
    public int insert(Max_xueli max_xueli) {
        return max_xueliMapper.insert(max_xueli);
    }

    @Override
    public ArrayList<Max_xueli> selectBySchool(String school) {
        return max_xueliMapper.selectBySchool(school);
    }

}